<?php if (!defined('BASEPATH')) exit('No direct script access allowed');?>

<!-- News content section-->
<div class="wrap-content border" style="border-top:0;">
	<section id="news-content">
		<h2><?php echo lang('ranking.latest_news');?> </h2>
		<div class="clrboth"></div>
		<div id="content">
			<?php if(isset($posts) AND !empty($posts)): ?>
				<?php foreach($posts as $arr):?>
				<div class="item">
					<div class="time"><?php echo date('Y.m.d',$arr['created_on']);?></div>
					<div class="title"><a href="<?php echo site_url("news/view/").'/'.$arr['slug'];?>"><?php echo $arr['title'];?></a></div>
				</div>
				<?php endforeach;?>
			<?php endif;?>
		</div>
	</section>
</div>
<div class="clrboth"></div>
<!-- end news content section -->


